# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=font-adobe-source-code-pro
pkgver=2.030
_italic_ver=1.050
pkgrel=0
pkgdesc="Monospaced font family for user interface and coding environments"
url="https://adobe-fonts.github.io/source-code-pro/"
arch="noarch"
license="OFL-1.1"
depends="font-util"
options="!check"
source="https://github.com/adobe-fonts/source-code-pro/archive/${pkgver}R-ro/${_italic_ver}R-it.tar.gz"
builddir="$srcdir/source-code-pro-${pkgver}R-ro-${_italic_ver}R-it"

package() {
	for x in "$builddir"/OTF/*.otf; do
		install -d "$pkgdir/usr/share/fonts/OTF/"
		install -m644 "$x" "$pkgdir/usr/share/fonts/OTF"
	done
}

sha512sums="e4ff04ac926e07f4cfa824d3ff4c6c9475c5e0a4172ed055aac8c80378f79c0c5838214377a7ea3bc2bb3997804f5a1420abaae7bf13c6e4a4ffe6f82d01a2e3  1.050R-it.tar.gz"
